package com.summer.data.connection;

import com.summer.data.dialect.Dialect;

import java.sql.Connection;

/**
 * @author 345480567@qq.com
 */
public interface SessionFactory {

    Connection getConnection();

    Session openSession();

    Transaction openTransactional(TransactionDef txDef);

    Dialect getDialect();

}
